<template>
	<view>
		<movable-area  style="position: fixed;top: 0;left: 0;width: 100%;height: 100%; pointer-events: none;">
			<movable-view direction="all" x="10rpx" y="110rpx" style="width: 200rpx; height: 300rpx;pointer-events: auto;" @click="ToBack()">
				<!-- #ifdef MP-WEIXIN -->
					<live-player id="player" :src="flv_url" mode="live" autoplay bindstatechange="statechange" binderror="error"  style="width: 100%;height: 100%;" object-fit='fillCrop'>	</live-player>
				<!-- #endif -->
			</movable-view>
		</movable-area>
	</view>
</template>

<script>
	export default {
		name: 'MinWindow',
		props: {
			flv_url: {
				type: String,
				default: ""
			}, 
		},
		data() {
			return {
				
			}
		},
		methods: {
			ToBack(){
				uni.navigateBack({})
			}
		}
	}
</script>

<style>

</style>
